/*
 * @Description: 
 * @version: 1.0
 * @Author: ziwei
 * @Date: 2021-08-29 23:23:13
 * @LastEditors: ziwei
 * @LastEditTime: 2021-09-26 14:26:50
 */
import { useStore } from "./injectKey";
import Store from './store'

//创建容器 返回一个store 工厂模式 目前vuex还是有一些bug

function createStore(options) {
    return new Store(options)
}

export {
  useStore,
  createStore
}